﻿Public Class frmAddLocation

    Private Sub TblLocationBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs) Handles TblLocationBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblLocationBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DbModelsDataSet)

    End Sub

    Private Sub frmAddLocation_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DbModelsDataSet.tblLocation' table. You can move, or remove it, as needed.
        Me.TblLocationTableAdapter.Fill(Me.DbModelsDataSet.tblLocation)

    End Sub
End Class